<!DOCTYPE html>
<html>


<!-- Mirrored from www.zi-han.net/theme/hplus/form_builder.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:20:19 GMT -->
<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title>{$sysname} - 系统设置</title>
    <meta name="keywords" content="H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台">
    <meta name="description" content="H+是一个完全响应式，基于Bootstrap3最新版本开发的扁平化主题，她采用了主流的左右两栏式布局，使用了Html5+CSS3等现代技术">

    <link rel="shortcut icon" href="favicon.ico"> <link href="css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
    <link href="css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
    <link href="css/animate.min.css" rel="stylesheet">
    <link href="css/plugins/summernote/summernote.css" rel="stylesheet">
    <link href="css/plugins/summernote/summernote-bs3.css" rel="stylesheet">
    <link href="css/style.min862f.css?v=4.1.0" rel="stylesheet">

    <style>
        .droppable-active{background-color:#ffe!important}.tools a{cursor:pointer;font-size:80%}.form-body .col-md-6,.form-body .col-md-12{min-height:400px}.draggable{cursor:move}
    </style>

</head>

<body class="gray-bg">
<div class="wrapper wrapper-content">

    <div class="row">
        <div class="col-sm-5" style="width: 100%">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>系统设置</h5>
                    <div class="ibox-tools">
                        <a class="collapse-link">
                            <i class="fa fa-chevron-up"></i>
                        </a>
                        <a class="dropdown-toggle" data-toggle="dropdown" href="form_editors.html#">
                            <i class="fa fa-wrench"></i>
                        </a>
                        <a class="close-link">
                            <i class="fa fa-times"></i>
                        </a>
                    </div>
                </div>
                <div class="ibox-content">
                    <form role="form" class="form-horizontal m-t" action="{:U('User/syssetdone')}" method="post" id="sysForm"  name="sysForm" enctype="multipart/form-data">

                        <div class="form-group draggable">
                            <label class="col-sm-3 control-label">系统开关：
                            </label>

                            <div class="col-sm-9">
                                <label class="radio-inline">
                                    <input type="radio" onclick="checksyson()" value="0" <if condition="$sys_on eq  0"> checked </if> id="sys1" name="sys_on">开启</label>
                                <label class="radio-inline">
                                    <input type="radio" onclick="checksyson()" value="1" <if condition="$sys_on eq  1"> checked </if> id="sys2" name="sys_on">关闭</label>
                            </div>
                        </div>

                        <div class="form-group draggable" id="sys_off" style="display: none">
                            <label class="col-sm-3 control-label">关闭声明：</label>
                            <div class="col-sm-9">
                                <input type="text" name="sys_off" value="{$sys_off}" class="form-control" >
                                <span class="help-block m-b-none"></span>
                            </div>
                        </div>

                        <script>
                            checksyson();
                            function checksyson(){
                                var radios = document.getElementsByName("sys_on");
                                var tag = false;
                                var val;
                                for(radio in radios) {
                                    if(radios[radio].checked) {
                                        tag = true;
                                        val = radios[radio].value;
                                        break;
                                    }
                                }
                                if(tag) {
                                    if(val == '1'){
                                        document.getElementById("sys_off").style.display = "block"
                                    }else{
                                        document.getElementById("sys_off").style.display = "none"
                                    }
                                }
                            }
                        </script>

                        <div class="form-group draggable">
                            <label class="col-sm-3 control-label">注册开关：
                            </label>
                            <div class="col-sm-9">
                                <label class="radio-inline">
                                    <input type="radio" value="0" <if condition="$reg_on eq  0"> checked </if> id="reg1" name="reg_on">开启</label>
                                <label class="radio-inline">
                                    <input type="radio" value="1" <if condition="$reg_on eq  1"> checked </if> id="reg2" name="reg_on">关闭</label>
                            </div>
                        </div>

                        <div class="form-group draggable">
                            <label class="col-sm-3 control-label">系统名称：</label>
                            <div class="col-sm-9">
                                <input type="text" name="sys_name" value="{$sys_name}" class="form-control" >
                                <span class="help-block m-b-none"></span>
                            </div>
                        </div>

                        <div class="form-group draggable">
                            <label class="col-sm-3 control-label">基础活跃度比例（%）</label>
                            <div class="col-sm-9">
                                <input type="text" name="huoyue_jl" value="{$huoyue_jl}" class="form-control" placeholder="">
                                <span class="help-block m-b-none">（购买矿机，奖励矿机金额百分比的基础活跃度）</span>
                            </div>
                        </div>

                        <div class="form-group draggable">
                            <label class="col-sm-3 control-label">加成活跃度比例（%）</label>
                            <div class="col-sm-9">
                                <input type="text" name="huoyue_jc" value="{$huoyue_jc}" class="form-control" placeholder="">
                                <span class="help-block m-b-none">（推荐实名用户，奖励该用户获得基础活跃度的百分比作为加成活跃度）</span>
                            </div>
                        </div>

                        <div class="form-group draggable">
                            <label class="col-sm-3 control-label">{$B}交易最低价</label>
                            <div class="col-sm-9">
                                <input type="text" name="min_price" value="{$min_price}" class="form-control" placeholder="">
                                <span class="help-block m-b-none"></span>
                            </div>
                        </div>

                        <div class="form-group draggable">
                            <label class="col-sm-3 control-label">{$B}交易单次最大数量</label>
                            <div class="col-sm-9">
                                <input type="text" name="max_num" value="{$max_num}" class="form-control" placeholder="">
                                <span class="help-block m-b-none"></span>
                            </div>
                        </div>

                        <div class="form-group draggable">
                            <label class="col-sm-3 control-label">{$B}交易每日次数</label>
                            <div class="col-sm-9">
                                <input type="text" name="day_num" value="{$day_num}" class="form-control" placeholder="">
                                <span class="help-block m-b-none"></span>
                            </div>
                        </div>


                        <div class="form-group draggable">
                            <label class="col-sm-3 control-label">USDT 汇率</label>
                            <div class="col-sm-9">
                                <input type="text" name="usdt_lv" value="{$usdt_lv}" class="form-control" placeholder="">
                                <span class="help-block m-b-none">（USDT汇率，1个{$B}需要多少USDT）</span>
                            </div>
                        </div>

                        <div class="form-group draggable">
                            <label class="col-sm-3 control-label">币名：</label>
                            <div class="col-sm-9">
                                <input type="text" name="currency_name" value="{$currency_name}" class="form-control" placeholder="">
                                <span class="help-block m-b-none"></span>
                            </div>
                        </div>



                        <div class="form-group draggable" style="display: none">
                            <label class="col-sm-3 control-label">复投钱包名称：</label>
                            <div class="col-sm-9">
                                <input type="text" name="wallet_name" value="{$wallet_name}" class="form-control" placeholder="">
                                <span class="help-block m-b-none">（该钱包内金额用于自动复投）</span>
                            </div>
                        </div>

                        <div class="form-group draggable" style="display: none">
                            <label class="col-sm-3 control-label">{$seat_name}名称：</label>
                            <div class="col-sm-9">
                                <input type="text" name="seat_name" value="{$seat_name}" class="form-control" placeholder="">
                            </div>
                        </div>

                        <div class="form-group draggable" style="display: none">
                            <label class="col-sm-3 control-label">{$recommend_name}名称：</label>
                            <div class="col-sm-9">
                                <input type="text" name="recommend_name" value="{$recommend_name}" class="form-control" placeholder="">
                            </div>
                        </div>

                        <div class="form-group draggable" style="display: none">
                            <label class="col-sm-3 control-label">充值开关：
                            </label>

                            <div class="col-sm-9">
                                <label class="radio-inline">
                                    <input type="radio"  value="1" <if condition="$cz_on eq  1"> checked </if> id="cz_on1" name="cz_on">开启</label>
                                <label class="radio-inline">
                                    <input type="radio"  value="0" <if condition="$cz_on eq  0"> checked </if> id="cz_on2" name="cz_on">关闭</label>
                            </div>
                        </div>

                        <div class="form-group draggable">
                            <label class="col-sm-3 control-label">转赠开关：
                            </label>

                            <div class="col-sm-9">
                                <label class="radio-inline">
                                    <input type="radio"  value="1" <if condition="$tx_on eq  1"> checked </if> id="tx_on1" name="tx_on">开启</label>
                                <label class="radio-inline">
                                    <input type="radio"  value="0" <if condition="$tx_on eq  0"> checked </if> id="tx_on2" name="tx_on">关闭</label>
                            </div>
                        </div>

                        <div class="form-group draggable" style="display: none">
                            <label class="col-sm-3 control-label">最少提现数<font style="color: red">({$currency_name})</font>：</label>
                            <div class="col-sm-9">
                                <input type="text" name="min_tx" value="{$min_tx}" class="form-control" placeholder="">
                            </div>
                        </div>

                        <div class="form-group draggable" style="display: none">
                            <label class="col-sm-3 control-label">网络手续费<font style="color: red">({$currency_name})</font>：</label>
                            <div class="col-sm-9">
                                <input type="text" name="wlsxf" value="{$wlsxf}" class="form-control" placeholder="">
                            </div>
                        </div>




                        <div class="form-group draggable" style="display: none">
                            <label class="col-sm-3 control-label">捐赠开关：
                            </label>

                            <div class="col-sm-9">
                                <label class="radio-inline">
                                    <input type="radio"  value="1" <if condition="$seat_on eq  1"> checked </if> id="seat_on1" name="seat_on">开启</label>
                                <label class="radio-inline">
                                    <input type="radio"  value="0" <if condition="$seat_on eq  0"> checked </if> id="seat_on2" name="seat_on">关闭</label>
                            </div>
                        </div>

                        <div class="form-group draggable" style="display: none">
                            <label class="col-sm-3 control-label">捐赠倒计时<font style="color: red">(H)</font>：</label>
                            <div class="col-sm-9">
                                <input type="text" onchange="changethis()"  id="jz_countdown" name="jz_countdown" value="{$jz_countdown}" class="form-control" placeholder="">
                                <span class="help-block m-b-none" style="color: red">*最大请设置240小时</span>
                            </div>
                        </div>
                        <script type="text/javascript">
                            function changethis(){
                                var num = $("#jz_countdown").val();
                                if(num > 240){
                                    $("#jz_countdown").val("240")
                                }
                            }
                        </script>

                        <div class="form-group draggable" style="display: none">
                            <label class="col-sm-3 control-label">捐赠金额<font style="color: red">({$currency_name})</font>：</label>
                            <div class="col-sm-9">
                                <input type="text" name="seat_money" value="{$seat_money}" class="form-control" placeholder="">
                                <span class="help-block m-b-none"></span>
                            </div>
                        </div>

                        <div class="form-group draggable" style="display: none">
                            <label class="col-sm-3 control-label">归平台部分<font style="color: red">({$currency_name})</font>：</label>
                            <div class="col-sm-9">
                                <input type="text" name="in_sys" value="{$in_sys}" class="form-control" placeholder="">
                                <span class="help-block m-b-none">（捐赠金额中的一部分归平台所有）</span>
                            </div>
                        </div>

                        <div class="form-group draggable" style="display: none">
                            <label class="col-sm-3 control-label">进入奖池部分<font style="color: red">({$currency_name})</font>：</label>
                            <div class="col-sm-9">
                                <input type="text" name="in_pond" value="{$in_pond}" class="form-control" placeholder="">
                                <span class="help-block m-b-none">（捐赠金额中的一部分进入奖池进行累计）</span>
                            </div>
                        </div>

                        <div class="form-group draggable" style="display: none">
                            <label class="col-sm-3 control-label">进入业绩比拼部分<font style="color: red">({$currency_name})</font>：</label>
                            <div class="col-sm-9">
                                <input type="text" name="in_list" value="{$in_list}" class="form-control" placeholder="">
                                <span class="help-block m-b-none">（捐赠金额中的一部分进入业绩大比拼，奖励给获奖者）</span>
                            </div>
                        </div>

                        <div class="form-group draggable" style="display: none">
                            <label class="col-sm-3 control-label">业绩比拼最低推广数：</label>
                            <div class="col-sm-9">
                                <input type="text" name="rank_num" value="{$rank_num}" class="form-control" placeholder="">
                                <span class="help-block m-b-none">（需满足该条件，才能进行业绩大比拼）</span>
                            </div>
                        </div>

                        <div class="form-group draggable" style="display: none">
                            <label class="col-sm-3 control-label">业绩比拼周期<font style="color: red">(Day)</font>：</label>
                            <div class="col-sm-9">
                                <input type="text" name="yj_countdown" value="{$yj_countdown}" class="form-control" placeholder="">
                                <span class="help-block m-b-none"></span>
                            </div>
                        </div>

                        <div class="form-group draggable" style="display: none">
                            <label class="col-sm-3 control-label">业绩比拼奖励人数：</label>
                            <div class="col-sm-9">
                                <input type="text" name="ranks" value="{$ranks}" class="form-control" placeholder="">
                                <span class="help-block m-b-none"></span>
                            </div>
                        </div>

                        <div class="form-group draggable" style="display: none">
                            <label class="col-sm-3 control-label">业绩比拼前10名奖励<font style="color: red">(%)</font>：</label>
                            <div class="col-sm-9">
                                <input type="text" name="rank_deuce" value="{$rank_deuce}" class="form-control" placeholder="">
                                <span class="help-block m-b-none">（前10名将额外获得平分该比例的奖励，其余部分平分给所有获奖者）</span>
                            </div>
                        </div>

                        <div class="form-group draggable" style="display: none">
                            <label class="col-sm-3 control-label">进入复投钱包占比<font style="color: red">(%)</font>：</label>
                            <div class="col-sm-9">
                                <input type="text" name="wallet" value="{$wallet}" class="form-control" placeholder="">
                                <span class="help-block m-b-none">（用户获得的{$seat_name}、{$recommend_name}，将有一部分进入{$wallet_name}）</span>
                            </div>
                        </div>

                        <div class="form-group draggable" style="display: none">
                            <label class="col-sm-3 control-label">{$seat_name}层数：</label>
                            <div class="col-sm-9">
                                <input type="text" name="seat_num" value="{$seat_num}" class="form-control" placeholder="">
                                <span class="help-block m-b-none"></span>
                            </div>
                        </div>


                        <div class="form-group draggable" style="display: none">
                            <label class="col-sm-3 control-label">{$recommend_name}开关：
                            </label>
                            <div class="col-sm-9">
                                <label class="radio-inline">
                                    <input type="radio" value="1" <if condition="$recommend_on eq  1"> checked </if> id="recommend_on1" name="recommend_on">开启</label>
                                <label class="radio-inline">
                                    <input type="radio" value="0" <if condition="$recommend_on eq  0"> checked </if> id="recommend_on2" name="recommend_on">关闭</label>
                                <label class="radio-inline">
                                    <input type="radio" value="2" <if condition="$recommend_on eq  2"> checked </if> id="recommend_on3" name="recommend_on">只发放{$recommend_name}</label>
                            </div>
                        </div>

                        <div class="form-group draggable" style="display: none">
                            <label class="col-sm-3 control-label">{$recommend_name}层数：</label>
                            <div class="col-sm-9">
                                <input type="text" name="recommend_num" value="{$recommend_num}" class="form-control" placeholder="">
                                <span class="help-block m-b-none"></span>
                            </div>
                        </div>

                        <div class="form-group draggable">
                            <label class="col-sm-3 control-label">滚动信息<font style="color: red">(请使用<>隔开)</font>：</label>
                            <div class="col-sm-9">
                                <textarea type="text" name="jc_text"  class="form-control" placeholder="" style="min-height: 80px">{$jc_text}</textarea>
                                <span class="help-block m-b-none"></span>
                            </div>
                        </div>

                        <div class="form-group draggable" style="display: none;">
                            <label class="col-sm-3 control-label">下拉列表：</label>
                            <div class="col-sm-9">
                                <select class="form-control" name="">
                                    <option>选项 1</option>
                                    <option>选项 2</option>
                                    <option>选项 3</option>
                                    <option>选项 4</option>
                                </select>
                            </div>
                        </div>

                        <div class="form-group draggable" style="display: none;">
                            <label class="col-sm-3 control-label">文件域：</label>
                            <div class="col-sm-9">
                                <input type="file" name="" class="form-control">
                            </div>
                        </div>

                        <div class="form-group draggable" style="display: none;">
                            <label class="col-sm-3 control-label">纯文本：</label>

                            <div class="col-sm-9">
                                <p class="form-control-static">这里是纯文字信息</p>
                            </div>
                        </div>



                        <div class="form-group draggable" style="display: none;">
                            <label class="col-sm-3 control-label">复选框：</label>

                            <div class="col-sm-9">
                                <label class="checkbox-inline">
                                    <input type="checkbox" value="option1" id="inlineCheckbox1">选项1</label>
                                <label class="checkbox-inline">
                                    <input type="checkbox" value="option2" id="inlineCheckbox2">选项2</label>
                                <label class="checkbox-inline">
                                    <input type="checkbox" value="option3" id="inlineCheckbox3">选项3</label>
                            </div>
                        </div>

                        <div class="hr-line-dashed"></div>
                        <div class="form-group draggable">
                            <div class="col-sm-12 col-sm-offset-3">
                                <input class="btn btn-primary" type="submit" value="保存内容">
                                <a class="btn btn-white" href="{:U('User/sysset')}">取消</a>
                            </div>
                        </div>

                    </form>
                    <div class="clearfix"></div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="js/jquery.min.js?v=2.1.4"></script>
<script src="js/bootstrap.min.js?v=3.3.6"></script>
<script src="js/content.min.js?v=1.0.0"></script>
<script src="js/jquery-ui-1.10.4.min.js"></script>
<script src="js/plugins/beautifyhtml/beautifyhtml.js"></script>
<script>
    $(document).ready(function(){
        setup_draggable();
        $("#n-columns").on("change",function(){
            var v=$(this).val();
            if(v==="1"){
                var $col=$(".form-body .col-md-12").toggle(true);
                $(".form-body .col-md-6 .draggable").each(function(i,el){
                    $(this).remove().appendTo($col)
                });
                $(".form-body .col-md-6").toggle(false)
            }else{
                var $col=$(".form-body .col-md-6").toggle(true);
                $(".form-body .col-md-12 .draggable").each(function(i,el){
                    $(this).remove().appendTo(i%2?$col[1]:$col[0])});
                $(".form-body .col-md-12").toggle(false)}
        })
    })

</script>
<script type="text/javascript" src="http://tajs.qq.com/stats?sId=9051096" charset="UTF-8"></script>
</body>


<!-- Mirrored from www.zi-han.net/theme/hplus/form_builder.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:20:20 GMT -->
</html>
